﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！-->
    <title>学生惠后台管理系统</title>
    <link rel="stylesheet" href="/App/Admin/public/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="/App/Admin/public/css/style.css"/>
</head>
<body>
<div class="mainBody">
       <include file="Public:left"/>
    <div class="main">
       <include file="Public:top"/>

        <div class="subNav">
            <span class="text"><i class="iconFont">&#xe600;</i>BANNER管理 - 新增</span>
        </div>

        <div class="indexBox">
            <div class="con-det">
                <div class="row">
                    <div class="col-md-12">
                        <form id="commentForm" method="post" action="{:U('Banner/save')}" enctype='multipart/form-data'>
                       
                            <table class="formTable editForm">
                                <tr>
                                    <td class="noBor" valign="top">类别</td>
                                    <td class="noBor" valign="top">
                                     <select  name="ban_type" class="inp form-control">
                                             <foreach name="typeArr" item="val">
					   <option value="{$key}">{$val}</option>
					     </foreach>
                                       </select>
                                    </td>
                                    <td class="noBor"></td>
                                    <td class="noBor" valign="top">名称</td>
                                    <td class="noBor" valign="top"><input type="text" name='name'  class="inp form-control"></td>
                                </tr>
                                <tr>
                                    <td valign="top">图片</td>
                                    <td valign="top"><input  name='ban_pic' type="file" class="inp form-control" style="padding: 4px 12px"></td>
                                    <td class="3"></td>
                                </tr>
                                <tr>
                                    <td class="textAliRi" colspan="5">
                                        <button class="btn btn-primary blue" type="submit">保存</button>
                                        <a href="{:U('Banner/index')}" class="btn btn-default" type="button">返回</a>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="/App/Admin/public/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="/App/Admin/public/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/App/Admin/public/js/public.js"></script>
</body>
</html>








